home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / crack.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-13  |  477 b   |  23 lines

  1. #ifndef CRACKLIB_H
  2. #define CRACKLIB_H
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. /* Pass this function a password (pw) and a path to the
  9.  * dictionaries (/usr/lib/cracklib_dict should be specified)
  10.  * and it will either return a NULL string, meaning that the
  11.  * password is good, or a pointer to a string that explains the
  12.  * problem with the password.
  13.  * You must link with -lcrack
  14.  */
  15.  
  16. extern char *FascistCheck(char *pw, char *dictpath);
  17.  
  18. #ifdef __cplusplus
  19. };
  20. #endif
  21.  
  22. #endif
  23.